


83  Add as Friend  PM this member
#8
Posted 15 minutes ago
I had a similar issue in my project since I had to condense all vanilla episodes in a single one. The best solution I came up with was to define it as a custom animation following the sound and framerate listings from the wiki.

Use EVENT_PRELEVEL to play the animation before level load (change the quote number for whichever you want to use):

ife VOLUME 3
ife LEVEL 0
{
        stopallsounds
        stopallmusic
        starttrackslot 0 1 // Play BRIEFING.MID
        redefinequote 200 VOL41A.ANM
        startcutscene 200
        redefinequote 200 VOL42A.ANM
        startcutscene 200
        redefinequote 200 VOL43A.ANM
        startcutscene 200
}

And this goes in your duke3d.def:
cutscene VOL41A.ANM { delay 12 }
cutscene VOL42A.ANM { delay 18 }
cutscene VOL43A.ANM { delay 12 }

animsounds VOL41A.ANM { 1 363 7 365 12 364 26 366 }
animsounds VOL42A.ANM { 1 392 12 21 18 367 34 21 }
animsounds VOL43A.ANM { 10 368 }